
function SliderCtrl($scope)
{
    $scope.SlideItems = {}


    var getSlides = function () {
        $.post(SWITCH_METHOD,{method : 'getSlides' }, function(response){
            $scope.SlideItems = JSON.parse(response);
            console.log($scope.SlideItems);
        });
    }


    getSlides();
}
